home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / amiga / 3d_tools / irit40s.lha / Irit / geom_lib / bbox.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-30  |  893 b   |  26 lines

  1. /******************************************************************************
  2. * Bbox.h - computes bounding boxes for objects.                      *
  3. *******************************************************************************
  4. * Written by Gershon Elber, June 1993.                          *
  5. ******************************************************************************/
  6.  
  7. #ifndef BBOX_H
  8. #define BBOX_H
  9.  
  10. #include "iritprsr.h"
  11. #include "cagd_lib.h"
  12.  
  13. typedef struct BBBboxStruct {
  14.     RealType Min[3];
  15.     RealType Max[3];
  16. } BBBboxStruct;
  17.  
  18. BBBboxStruct *BBComputeBboxObject(IPObjectStruct *PObj);
  19. BBBboxStruct *BBComputeBboxObjectList(IPObjectStruct *PObj);
  20. BBBboxStruct *BBComputeOnePolyBbox(IPPolygonStruct *PPoly);
  21. BBBboxStruct *BBComputePolyListBbox(IPPolygonStruct *PPoly);
  22. BBBboxStruct *BBComputePointBbox(RealType *Pt);
  23. BBBboxStruct *BBMergeBbox(BBBboxStruct *Bbox1, BBBboxStruct *Bbox2);
  24.  
  25. #endif /* BBOX_H */
  26.